<!--
 * @Date: 2022-03-25 18:25:22
 * @LastEditors: sailornpg
 * @LastEditTime: 2022-03-26 10:22:32
 * @FilePath: \vue3Components\src\views\notification.vue
 * @Description: something
-->
<template>
  <Notification :value="12" :max="99">
    <template #default>
      <List-show
        :listData="list"
        :actions="actions"
        @clickItem="clickItem"
        @clickAction="clickAction"
      ></List-show>
    </template>
  </Notification>
</template>
 <script lang='ts' setup>
import { list, actions } from '../components/listShow/data'
import ListShow from '../components/ListShow/index.vue'
import Notification from '../components/Notification.vue';
const clickItem = (val: any) => {
  console.log(val);
}
const clickAction = (val: any) => {
  console.log(val);
}
</script>
<style lang='less' scoped>
</style>